<template>
  <div>{{res}}</div>
</template>

<script>
  import axios from "axios"

  export default {
    name: "HelloWorld",
    data() {
      return {
        res: ""
      }
    },
    created() {
      axios({
        url: "http://123.207.32.32:8000/home/data",
        params: {
          type: "POP",
          page: 1
        }
      }).then(res => {
        // console.log(res);
        this.res = res
      })
    }
  }
</script>

<style scoped>

</style>
